SC_rayCastGroup
SYNTAX
return integer=SC_rayCastGroup ( groupNum, oldx, oldy, oldz, x, y, z, excludeObj )
-groupNum: the group you want to check for collision use 0 for all groups
-oldx...z: the start and end points of the ray to check.
-excludeObj: a single object to exclude from the collision check
returns: the object number collided with first is returned
returns 0 if no collision occured.
Similar to SC_rayCast except it checks against groups of objects.
will check if the ray starting at oldx#,oldy#,oldz# and ending at
x#,y#,z# collides with the specified group (group=0 for all).
does not collide with backfaces, will return the number of the object
hit first, or 0 for no collision. Objects assigned group 0 during setup
have no group and are ignored during group collision checks
RELATED INFO
Collision Commands Menu
Index